package com.mzj.saas.mservice.property.repository;



import com.mzj.saas.mservice.property.entity.HouseRemaining;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface HouseRemainingRepository extends JpaRepository<HouseRemaining,Long>,JpaSpecificationExecutor<HouseRemaining> {

    HouseRemaining findByOrgIdAndHouseIdAndStatus(Long orgId,String houseId,Integer status);

    List<HouseRemaining> findByIdIn(List<Long> remId);

    List<HouseRemaining> findByOrgId(Long orgId);

    List<HouseRemaining> findByHouseId(String houseId);

}
